#define loginDialog(flag)
<div id="loginDialog" style="display:#(flag=='login'?'block':'none')">
<div id="loginModal" class="modal show" style="display:none">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" onclick="document.getElementById('loginDialog').style.display='none'">x</button>
				<h1 class="text-center text-primary">登录</h1>
			</div>
			<div class="modal-body">
				<form action="/login/adminLogin" class="form col-md-12 center-block">
					<div class="form-group">
						<p>用户名*<input type="text" class="form-control input-lg"
							placeholder="手机号或数字id" name="account"></p>
					</div>
					<div class="form-group">
						<p>密码*<input type="password" class="form-control input-lg"
							placeholder="登录密码" name="passWord"></p>
					</div>
					<div class="form-group">
						<button class="btn btn-primary btn-lg btn-block">立刻登录</button>
					</div>
				</form>
			</div>
			<div class="modal-footer"></div>
		</div>
	</div>
</div>
</div>
#end
